package com.suning.sawp.intf.esb;

import com.suning.rsc.dto.responsedto.MbfResponse;
import com.suning.rsc.httpservice.annotation.EsbEIHttpMethod;
import com.suning.rsc.httpservice.annotation.EsbEIHttpService;
import com.suning.sawp.dto.esb.CrtPreChargeOrderReq;
import com.suning.sawp.dto.esb.CrtPreChargeOrderRtn;

@EsbEIHttpService(appCode="SNSAWP", serviceCode="MiscellaneousPrepaidCoupons")
public interface PosPreChargeEsbService {

    @EsbEIHttpMethod(operation = "createPrepaidCouponsOrder", serviceResource = "", reqMbfBodyNode = false, 
            timeOut = 3000, soTimeOut = 5000, requestBodyClass = CrtPreChargeOrderReq.class,
            responseBodyClass = CrtPreChargeOrderRtn.class)
    MbfResponse preChargePayOrder(CrtPreChargeOrderReq req);
}
